package com.ys.fmms.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ys.fmms.pojo.NodeList;

import java.util.List;

public interface NodeListService extends IService<NodeList> {
    List<NodeList> getNodeList();

    NodeList getOnlineAndTotalAmount();

    List<NodeList> getNewStatusDataList();

    IPage<NodeList> getNodeListByFuzzySearch(Page page, String type, String status);

    void addOrUpdateNodeListById(String id,NodeList nodeList);

    List<String> getFacilityNameList(String facility);
}
